<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var tiao=window.confirm("是否跳转到百度");
			if(tiao==true){
				window.location="http://www.baidu.com";
			}else{
				close();
			}
		</script>
	</body>
</html>
